package com.gitee.sys.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gitee.mybase.top.entity.SysUser;
import com.gitee.sys.pojo.LoginResult;
import com.gitee.sys.pojo.LoginUser;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chengkaimao
 * @since 2018-11-17
 */
public interface ISysUserService extends IService<SysUser> {

    IPage<SysUser> getPage(long current, long size, SysUser sysUser);

    int saveUser(SysUser sysUser);

    int updateUser(SysUser sysUser);

    int delUser(String code);

    LoginResult login(LoginUser loginUser);

}
